Install BZIP2The order is as follows:
The code is as follows:
Make-f Makefile-libbz2_so &&
Make &&
Make install &&
CP Bzip2-shared/bin/bzip2 &&
Ln-s libbz2.so.1.0 libbz2.so &&
Cp-a libbz2.so*/lib &&
Rm/lib/libbz2.so &&
Linux compression helper bzip2GuideTo compress a file, you can use a small number of bytes to encode the data in the file to significantly reduce the file size, and it is useful for cross-network file backup and transfer. On the other hand,
This article is to Uncle Bird's Linux private cuisine (basic study) of the third edition of the study notes, the original text can refer to the original book Chinese website Bird uncle's Linux private dishes.In the Linux environment, the operation
PHP extension-compression and archive extension-the Bzip2 bzip2 function is used to transparently read and write bzip2(.bz2) compressed files.
This module uses the functions in the» bzip2 library of Julian Seward. This module requires bzip2/libbzip2
14.3. File compression and archiving
Sometimes we need to store a set of files in a single file for backup or transfer to another directory or even another computer. Sometimes we also need to compress files into one file, so they use only a small
Compression Packaging Introduction:Commonly used compressed file types:1, windows:.rar/.zip/.7z2, Linux:.zip/.gz/.bz2/.xz/.tar/.gz/.tar/.bz2/.tar/.xzGzip Compression Tool:1, experiment, CD to/tmp directory, use MKDI to create a directory d6z, in the
Implementation of the Java decompression technology GZIP ZIP BZIP2Unlike Gzip ZIP, BZIP2 is not implemented in Java, BZIP2 implementations are provided by Apache Commons-compress.jar.About Commons Compress please visit:
Bzip2 adopts the new compression algorithm, which is better than the traditional LZ77/LZ78 compression algorithm. If no compression file is added, the compressed file .bz2 will be uploaded and the original file will be deleted.SyntaxBzip2
1. First import Bzip2.jar in the project; (Download address: http://download.csdn.net/detail/majian_1987/5997697)
2. Download Jzlib source code Zip package, extract, and then copy all com.jcraft.jzlib.* Java files to the project (even with a Java
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.